package com.example.canalclientsync.canal.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//import javax.persistence.Column;
//import javax.persistence.Id;
import java.util.Date;

/**
 * @author chen.cr
 * @since 2023/9/14
 */
@Data
@TableName("f_virtual_model")
public class VirtualModel {

    @TableId(value = "id")
//    @Id
    private Long id;

    @TableField("model_id")
    //@Column(name = "model_id")
    private Long modelId;

    @TableField("master_id")
    //@Column(name = "master_id")
    private Long masterId;

    @TableField("version")
    //@Column(name = "version")
    private Integer version;

    @TableField("name")
    //@Column(name = "name")
    private String name;

    @TableField("extension")
    //@Column(name = "extension")
    private String extension;

    @TableField("model_size")
    //@Column(name = "model_size")
    private Long modelSize;

    @TableField("latested")
    //@Column(name = "latested")
    private Integer latested;

    @TableField("lock_user")
    //@Column(name = "lock_user")
    private Integer lockUser;

    @TableField("create_user_id")
    //@Column(name = "create_user_id")
    private Integer createUserId;

    @TableField("update_user_id")
    //@Column(name = "update_user_id")
    private Integer updateUserId;

    @TableField(value = "create_time")
    //@Column(name = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    //@Column(name = "update_time")
    private Date updateTime;

    @TableField("visible")
    //@Column(name = "visible")
    private Integer visible;

    @TableField("detai_img")
    //@Column(name = "detai_img")
    private String detaiImg;

    @TableField("detail_type")
    //@Column(name = "detail_type")
    private Integer detailType;

    @TableField("oss_url")
    //@Column(name = "oss_url")
    private String ossUrl;

    @TableField("screenshot")
    //@Column(name = "screenshot")
    private String screenshot;

    @TableField("model_type")
    //@Column(name = "model_type")
    private Integer modelType;

    @TableField("conversion_type")
    //@Column(name = "conversion_type")
    private Integer conversionType;

    @TableField("summit_describe")
    //@Column(name = "summit_describe")
    private String summitDescribe;

    @TableField("origin_type")
    //@Column(name = "origin_type")
    private Integer originType;

    @TableField("origin_id")
    //@Column(name = "origin_id")
    private Integer originId;

    @TableField("origin_virtual_model_id")
    //@Column(name = "origin_virtual_model_id")
    private Long originVirtualModelId;

    @TableField("origin_virtual_master_id")
    //@Column(name = "origin_virtual_master_id")
    private Long originVirtualMasterId;

    @TableField("owner_id")
    //@Column(name = "owner_id")
    private Integer ownerId;

    @TableField("status")
    //@Column(name = "status")
    private Integer status;

    @TableField("tenant_id")
    //@Column(name = "tenant_id")
    private String tenantId;

}
